package com.iteaj.network.client;

import com.iteaj.network.proxy.AppClientMessageHead;
import com.iteaj.network.proxy.AppClientResponseBody;
import com.iteaj.network.proxy.AppClientType;
import com.iteaj.network.server.ServerMessage;

/**
 * create time: 2021/8/9
 *
 * @author iteaj
 * @since 1.0
 */
public class ProxyServerMessage extends ServerMessage {

    private String deviceSn;
    private AppClientType type;

    public ProxyServerMessage(byte[] message) {
        super(message);
    }

    public ProxyServerMessage(AppClientMessageHead head) {
        super(head);
    }

    public ProxyServerMessage(AppClientMessageHead head, AppClientResponseBody body) {
        super(head, body);
    }

    @Override
    protected AppClientMessageHead doBuild(byte[] message) {
        return null;
    }

    public AppClientType getType() {
        return type;
    }

    public void setType(AppClientType type) {
        this.type = type;
    }

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn;
    }
}
